#include "ShipNumberOfLifesMonitor.h"

using namespace view;

ShipNumberOfLifesMonitor::ShipNumberOfLifesMonitor(void)
{
}

ShipNumberOfLifesMonitor::ShipNumberOfLifesMonitor(int min, int max, int current) : SDLProgressMonitor(min, max, current)
{
}

ShipNumberOfLifesMonitor::~ShipNumberOfLifesMonitor(void)
{
}

void ShipNumberOfLifesMonitor::update(Observable* shipNumberOfLifesProperty)
{
	ShipNumberOfLifesProperty* shipNumberOfLifes = static_cast<ShipNumberOfLifesProperty*>(shipNumberOfLifesProperty);
	currentProgress = shipNumberOfLifes->getProgress();
}
